package com.jzk.cloudshop.portalgoodsapi.remote;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name= "portal-goods-service")
@RequestMapping("/portal/service/goods")
public interface GoodsServiceRemote {
	@GetMapping(value = "/{goodsId}")
    public String getGoodsById(@PathVariable(value = "goodsId", required=true) Long goodsId);
}
